package com.hntest.entity;
//系统账户

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class SystemAccount implements Serializable {

    private static final long serialVersionUID = -3687684457307657994L;
    private int version;    //版本号
    private Date beginDate=new Date();  //该系统账户区间开始时间
    private Date endDate;               //该系统账户区间结束时间
    private Date createDate=new Date(); //创建时间
    private BigDecimal totalBalance=BidConst.ZERO;
    private BigDecimal freezedAmount=BidConst.ZERO;

    public SystemAccount(){}

    public SystemAccount(int version, Date beginDate, Date endDate, Date createDate, BigDecimal totalBalance, BigDecimal freezedAmount) {
        this.version = version;
        this.beginDate = beginDate;
        this.endDate = endDate;
        this.createDate = createDate;
        this.totalBalance = totalBalance;
        this.freezedAmount = freezedAmount;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public BigDecimal getTotalBalance() {
        return totalBalance;
    }

    public void setTotalBalance(BigDecimal totalBalance) {
        this.totalBalance = totalBalance;
    }

    public BigDecimal getFreezedAmount() {
        return freezedAmount;
    }

    public void setFreezedAmount(BigDecimal freezedAmount) {
        this.freezedAmount = freezedAmount;
    }
}
